package cn.itcast.service;

import cn.itcast.common.R;
import cn.itcast.dto.DishDto;
import cn.itcast.entity.Dish;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface DishService extends IService<Dish> {
    public void saveWithFlavor(@RequestBody DishDto dishDto);

    public DishDto reSee(long id);

    public void updateWithFlavor(DishDto dishDto);

    public void deleteWithFlavor(List<Long> ids);
}
